[NTG-context] Bug in startalign

2022-07-21 Thread Stefan Haller via ntg-context
Hi! I (presumably) found a bug in the recent math changes of the latest upload. If a cell of the startalign environment is empty, something internally to the macro seems to be breaking. Minimal example: \starttext \startformula \startalign \NC \NC a \NR \NC b \NC c \NR \stopalign

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-28 Thread Mikael P. Sundqvist
s ConTeXt > version 2016.05.17 19:20 MKIV current. > > Some time ago I reported an analogous issue with startalign, and it seemed to > me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56. > > Best regards: OK > >> On 17 Aug 2016, at 14:20, Mikael

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Otared Kavian
with startalign, and it seemed to me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56. Best regards: OK > On 17 Aug 2016, at 14:20, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > Hi, > > The test file > > \starttext > \placeformula > \startfor

[NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Mikael P. Sundqvist
Hi, The test file \starttext \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR \NC \NC =\exp(\ln x_1+\ln x_2)=\exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \stoptext gives the attached pdf

[NTG-context] Bug with mathmatrix row-spacing in \startalign

2013-08-30 Thread Andreas Halkjær
Hello, I hope I'm doing this right. I discovered a bug where the spacing between rows becomes too large in a mathmatrix when used in between \startalign and \stopalign. I posted on StackExchange and was told to report it here: http://tex.stackexchange.com/questions/130636/context-wrong

Re: [NTG-context] Bug with mathmatrix row-spacing in \startalign

2013-08-30 Thread Hans Hagen
On 8/30/2013 12:16 AM, Andreas Halkjær wrote: Hello, I hope I'm doing this right. I discovered a bug where the spacing between rows becomes too large in a mathmatrix when used in between \startalign and \stopalign. I posted on StackExchange and was told to report it here: http

[NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white space disappears. But I need to keep it for numbering the last equation. In any case, I thought

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Hans Hagen
On 4/8/2013 1:21 PM, Devendra Ghate wrote: Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white space disappears. But I need to keep it for numbering the last

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
On Mon, Apr 08, 2013 at 05:49:51PM +0200, Hans Hagen wrote: On 4/8/2013 1:21 PM, Devendra Ghate wrote: Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white

[NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
I would like to make a row of a \startalign ... \stopalign hidden. The following fails. \starttext \definelayer[hiddenlayer][state=stop] \startformula \startalign[n=3,align={right,middle,left}] \NC a \NC = \NC b \NR \setlayer[hiddenlayer]{\NC a + c \NC

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Troy Henderson wrote: I would like to make a row of a \startalign ... \stopalign hidden. The following fails. \starttext \definelayer[hiddenlayer][state=stop] \startformula \startalign[n=3,align={right,middle,left}] \NC a \NC = \NC b \NR

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Thanks for your steps.tex. The following example does not work as expected. In particular, the first equation moves from page 1 to page 2, and the 12 x moves from page 2 to page 3. Troy \StartStepping{10} \startformula \startalign[n=4,align={right,right,middle

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Aditya, Can you confirm this phenomenon? Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
\startalign[n=4,align={right,right,middle,left}] \STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC \frac{1}{6}x+\frac{21}{4} \NR} \STEP{2}{\NC 12\times\NC \NC \NC \NR} \STEP{3}{\NC \NC \left(12\cdot\frac{2}{3}x\right) - \left(12\cdot\frac{3}{4}\right

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
\StartStepping{10} \startformula \startalign[n=4,align={right,right,middle,left}] \STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC \frac{1}{6}x+\frac{21}{4} \NR} \STEP{2}{\NC 12\times\NC \NC \NC \NR} \STEP{3}{\NC \NC \left(12\cdot\frac{2}{3

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
For display equations, the following will also work (but it is very tedius to type) Good workaround. Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Troy Henderson
Any idea how to put a \framed{ ... } around \NC \NC x \NC = \NC 12 Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
On Wed, 6 Feb 2013, Troy Henderson wrote: Any idea how to put a \framed{ ... } around \NC \NC x \NC = \NC 12 AFAIK, you can't. It's on my TODO list but requires a complete rewrite of math align macros. If you really need it: \startsetups table:math \setupTABLE[frame=off, toffset=0.2ex,

Re: [NTG-context] about \startformula\startalign error

2012-07-23 Thread dalyoung
Dear Aditya, Using \framed[]{}, I got a good output. As you said, it might be better to define a macro for it. Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an

[NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
Dear all, In the following sample file, an error occurs in \startformula\startalign ... \stopalign\stopformula. The similar error occurs if I use \startformula\startmathcases. but \startmatrix works well. Did I do something wrong? Thank you for reading. Best regards, Dalyoung

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
On 2012-07-22, at 8:21 AM, dalyoung hak...@me.com wrote: Dear all, In the following sample file, an error occurs in \startformula\startalign ... \stopalign\stopformula. The similar error occurs if I use \startformula\startmathcases. but \startmatrix works well. Did I do something

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
Dear Aditya, \startformula must occur inside a vbox. So, use a matrix environment as you are doing, or wrap the formula inside a \framed[align=normal]. Thank you for your solution. \framed[frame=off,align=normal]{\startformula\startalign ... \stopalign\stopformula} is working. I have

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
A \VL B \VL C \VL D \NC\SR \HL \NC $y$ \VL {\framed[frame=off, align=normal]{\startformula\startalign \NC x' = \NC \NR \NC y' = \NC \NR \stopalign\stopformula}} \VL \VL \NC\LR \HL \stoptable \stoptext Both of them are good for compiling, but need a slight touch. Use the \frame aligning options

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-18 Thread Khaled Hosny
On Tue, Jul 17, 2012 at 09:48:31PM -0400, Matthias Weber wrote: It was never a problem in TeX to modify the control characters used according to your own pleasure. Except that is not the kind of thing ConTeXt users are supposed to mess with, I feel guilty every time I mess with catcodes in my

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-18 Thread Matthias Weber
: \let\oldstartalign=\startalign \let\oldstopalign=\stopalign \let\oldbs=\\ \def\startalign{\catcode`=4\let\\=\cr\oldstartalign} \def\stopalign{\oldstopalign\catcode`=12\let\\=\oldbs} \starttext This \ that the other thing: \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2

[NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
\starttext \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2 \\ \stopalign \stopformula \stoptext ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english (...) ! Missing $ inserted. system tex error on line 3 in file test.tex: Missing $ inserted

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Hans Hagen
On 18-7-2012 00:22, Matthias Weber wrote: \starttext \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2 \\ \stopalign \stopformula \stoptext ConTeXt ver: 2012.07.17 16:42 MKIV fmt: 2012.7.17 int: english/english (...) ! Missing $ inserted. system tex error

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
Thanks - I wasn't aware that the human readable version had been deprecated :( Matthias On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote: On 18-7-2012 00:22, Matthias Weber wrote: \starttext \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2 \\ \stopalign

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Khaled Hosny
On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote: On 18-7-2012 00:22, Matthias Weber wrote: \starttext \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2 \\ \stopalign \stopformula \stoptext ConTeXt ver: 2012.07.17 16:42 MKIV fmt

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Matthias Weber
had been deprecated :( Matthias On Jul 17, 2012, at 7:17 PM, Hans Hagen pra...@wxs.nl wrote: On 18-7-2012 00:22, Matthias Weber wrote: \starttext \startformula \startalign v = u + at \\ h = ut + \frac12 gt^2 \\ \stopalign \stopformula \stoptext ConTeXt ver: 2012.07.17

Re: [NTG-context] Is startalign broken in mkiv?

2012-07-17 Thread Rogers, Michael K
Here's a backward-compatibility hack that works on your minimal example. Maybe it will save the dozens of files without changing all the s: \let\oldstartalign=\startalign \let\oldstopalign=\stopalign \let\oldbs=\\ \def\startalign{\catcode`=4\let\\=\cr\oldstartalign} \def\stopalign{\oldstopalign

[NTG-context] startalign broken in latest checkout

2012-07-04 Thread Prashanth
Hi, The latest checkout has a problem with even the most trivial example of \startalign (taken from the wiki): \starttext \startformula \startalign \NC v \NC = u + at \NR \NC h \NC= ut + \frac12 gt^2 \NR \stopalign \stopformula \stoptext % context --version mtx-context | ConTeXt

Re: [NTG-context] startalign broken in latest checkout

2012-07-04 Thread Wolfgang Schuster
Am 04.07.2012 um 18:24 schrieb Prashanth: Hi, The latest checkout has a problem with even the most trivial example of \startalign (taken from the wiki): \starttext \startformula \startalign \NC v \NC = u + at \NR \NC h \NC= ut + \frac12 gt^2 \NR \stopalign \stopformula \stoptext

[NTG-context] Split \startalign content on more pages

2012-05-21 Thread elgo...@libero.it
Thank you Luigi. I haven't tried your solution yet, as I was abroad the previous days. I hope I will try later. Bye. Arrigo ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Split \startalign content on more pages

2012-05-15 Thread luigi scarso
On Mon, May 14, 2012 at 12:02 PM, elgo...@libero.it elgo...@libero.it wrote: Yes it works. The only problem is that now I have the formulas aligned at the center of the page. Which command can I use to align the formulas on the left? \setupformulas[alternative=default,margin=-6em] (with

Re: [NTG-context] Split \startalign content on more pages

2012-05-14 Thread luigi scarso
2012/5/14 elgo...@libero.it elgo...@libero.it: Sorry for having given you a non working example! Here you can find a working one. The comments at the end of each line are in italian. Changing the height of the frame you can move the \startalign content in the page. As you will see, the whole

[NTG-context] Split \startalign content on more pages

2012-05-14 Thread elgo...@libero.it
Yes it works. The only problem is that now I have the formulas aligned at the center of the page. Which command can I use to align the formulas on the left? ___ If your question is of interest to others as well,

[NTG-context] Split \startalign content on more pages

2012-05-13 Thread elgo...@libero.it
\sbc{} is a command defined by me. \define[1]\sbc{\ctxlua{context(\%.2f, #1)}}% I'm writing a technical report and I use that command to substitute numbers to letters in formulas. ___ If your question is of interest

Re: [NTG-context] Split \startalign content on more pages

2012-05-13 Thread luigi scarso
On Sun, May 13, 2012 at 3:54 PM, elgo...@libero.it elgo...@libero.it wrote: \sbc{} is a command defined by me. \define[1]\sbc{\ctxlua{context(\%.2f, #1)}}% I'm writing a technical report and I use that command to substitute numbers to letters in formulas. ok, I'm using \def\sbc#1{#1}

Re: [NTG-context] Split \startalign content on more pages

2012-05-13 Thread Aditya Mahajan
On Sun, 13 May 2012, elgo...@libero.it wrote: \sbc{} is a command defined by me. \define[1]\sbc{\ctxlua{context(\%.2f, #1)}}% I'm writing a technical report and I use that command to substitute numbers to letters in formulas. Please create a complete working minimal example. Aditya

[NTG-context] Split \startalign content on more pages

2012-05-13 Thread elgo...@libero.it
Sorry for having given you a non working example! Here you can find a working one. The comments at the end of each line are in italian. Changing the height of the frame you can move the \startalign content in the page. As you will see, the whole content flows from one page to the following

[NTG-context] Split \startalign content on more pages

2012-05-11 Thread elgo...@libero.it
Thank you very much Luigi. Any idea on how to split the \startalign content? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Split \startalign content on more pages

2012-05-11 Thread luigi scarso
On Fri, May 11, 2012 at 11:16 AM, elgo...@libero.it elgo...@libero.it wrote: Thank you very much Luigi. Any idea on how to split the \startalign content? No, I've an error ! Undefined control sequence. system tex error on line 16 in file test.tex: Undefined control sequence

[NTG-context] Split \startalign content on more pages

2012-05-10 Thread elgo...@libero.it
Hello, I'm a new user of context (and of this mailing list). I'm facing some problems in splitting the \startalign ... \stopalign content on more pages. This is the formulas: \setupformulas[align=right] \startformula \startalign[n=3, align={left, right, left}] \NC \text{dove} \quad \NC Y \NC

Re: [NTG-context] Split \startalign content on more pages

2012-05-10 Thread luigi scarso
On Wed, May 9, 2012 at 1:44 PM, elgo...@libero.it elgo...@libero.it wrote: And by the way, is there a clever way to write a block of text under some conditions as shown in the example above other than tex.print(.) which forces to escape every command? Thank you very much. Bye \starttext

Re: [NTG-context] \startalign[n=3] don't work properly in MKIV

2011-09-12 Thread Aditya Mahajan
On Thu, 8 Sep 2011, Aditya Mahajan wrote: On Thu, 8 Sep 2011, Hongwen Qiu wrote: Hi, the following minimal example works fine in MKII, but the third columns are not aligned in MKIV \starttext \startformula\startalign[n=3] \NC X \NC = 1 + 2 \NC = 3 \NR \NC Y \NC = 1 + 2 + 3 \NC = 6 \NR \NC Z

[NTG-context] \startalign[n=3] don't work properly in MKIV

2011-09-08 Thread Hongwen Qiu
Hi, the following minimal example works fine in MKII, but the third columns are not aligned in MKIV \starttext \startformula\startalign[n=3] \NC X \NC = 1 + 2 \NC = 3 \NR \NC Y \NC = 1 + 2 + 3 \NC = 6 \NR \NC Z \NC = 1 + 2 + 3 + 4 \NC = 10 \NR \stopalign\stopformula \stoptext Is this a bug

Re: [NTG-context] \startalign[n=3] don't work properly in MKIV

2011-09-08 Thread Aditya Mahajan
On Thu, 8 Sep 2011, Hongwen Qiu wrote: Hi, the following minimal example works fine in MKII, but the third columns are not aligned in MKIV \starttext \startformula\startalign[n=3] \NC X \NC = 1 + 2 \NC = 3 \NR \NC Y \NC = 1 + 2 + 3 \NC = 6 \NR \NC Z \NC = 1 + 2 + 3 + 4 \NC = 10 \NR \stopalign

[NTG-context] help with startformulas and startalign

2010-07-27 Thread Julian Becker
Hi everybody, I'm new to ConTeXt and need a little expert help. When I'm running the following 'test.tex' file \starttext \placeformula \startformulas \startformula \startalign \NC A \NC = B \NR[+] \NC C \NC = D \NR[+] \stopalign \stopformula \startformula E \stopformula

Re: [NTG-context] help with startformulas and startalign

2010-07-27 Thread Taco Hoekwater
On 07/27/2010 02:21 PM, Julian Becker wrote: I get the following errors: systems : begin file test.tex at line 1 ! Missing $$ inserted. to be read again \Ustopdisplaymath This is a bug in luatex that will be fixed in the next beta, it is not your fault. Until then, this

Re: [NTG-context] help with startformulas and startalign

2010-07-27 Thread Julian Becker
Thanks a lot, this did the trick. best regards, Julian 2010/7/27 Taco Hoekwater t...@elvenkind.com On 07/27/2010 02:21 PM, Julian Becker wrote: I get the following errors: systems : begin file test.tex at line 1 ! Missing $$ inserted. to be read again \Ustopdisplaymath

[NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Matthijs Kooijman
Obviously, when using a non monospaced font for this, the alignment is lost. When in math mode, I can use \startalign to force alignment, like: \startalign foo \NC= bar \NC| baz \stopalgin However, I haven't manage to switch to math mode inside pretty printed text. Also, even if I would, I

Re: [NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Matthijs Kooijman
Hi all, foo = bar | baz it seems I found some sort of a solution. Using the \setwidthof I found at [1], I wrote the following: \def\setwidthof#1\to#2% {\bgroup \setbox\scratchbox\hbox{#1}% \expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}} foo = bar \setwidthof{foo

Re: [NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Aditya Mahajan
spaces. For example: foo = bar | baz Obviously, when using a non monospaced font for this, the alignment is lost. When in math mode, I can use \startalign to force alignment, like: \startalign foo \NC= bar \NC| baz \stopalgin However, I haven't manage to switch to math mode inside

[NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Longmin Wang
Dear Hans, Please see the example below, which is not correctly compiled in the lastest beta. \starttext \startformula \startalign \NC v \NC = u + at \NR \NC h \NC= ut + \frac12 gt^2 \NR \stopalign \stopformula \stoptext -- Longmin Wang longminw...@gmail.com Math. Dept., Nankai Univ

Re: [NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Aditya Mahajan
On Mon, 13 Apr 2009, Longmin Wang wrote: Dear Hans, Please see the example below, which is not correctly compiled in the lastest beta. \starttext \startformula \startalign \NC v \NC = u + at \NR \NC h \NC= ut + \frac12 gt^2 \NR \stopalign \stopformula \stoptext Confirmed, With MKIV I get

Re: [NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Taco Hoekwater
Aditya Mahajan wrote: On Mon, 13 Apr 2009, Longmin Wang wrote: Dear Hans, Please see the example below, which is not correctly compiled in the lastest beta. \starttext \startformula \startalign \NC v \NC = u + at \NR \NC h \NC= ut + \frac12 gt^2 \NR \stopalign \stopformula \stoptext

Re: [NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Aditya Mahajan
On Mon, 13 Apr 2009, Taco Hoekwater wrote: \halign{$#$$#$\cr u\cr}\bye and perl is reputed to look like line noise ;) Aditya ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Taco Hoekwater
Aditya Mahajan wrote: On Mon, 13 Apr 2009, Taco Hoekwater wrote: \halign{$#$$#$\cr u\cr}\bye and perl is reputed to look like line noise ;) Now that I fixed it, I suspect there is an even shorter minimal file possible, but I 've fixed it already so I can't try that any more. This might

Re: [NTG-context] \startalign broken in the lastest beta?

2009-04-13 Thread Longmin Wang
On Mon, Apr 13, 2009 at 04:46:52PM +0200, Taco Hoekwater wrote: Anyway, the fix in luatex svn already. I expect to release 0.39 on wednesday. Best wishes, Taco Many thanks. It works. -- Longmin Wang longminw...@gmail.com Math. Dept., Nankai Univ., China http://math.nankai.edu.cn/~wanglm/

[NTG-context] \startalign + \boldsymbol weird behavior

2009-03-29 Thread Boštjan Vesnicer
Hi, I've noticed a weird behavior using \boldsymbol within \startalign \stopalign. Please see the attached minimal example. MKII version 2009.03.13 17:35 Bostjan minimal.tex Description: TeX document ___ If your

Re: [NTG-context] \startalign + \boldsymbol weird behavior

2009-03-29 Thread Aditya Mahajan
On Sun, 29 Mar 2009, Boštjan Vesnicer wrote: Hi, I've noticed a weird behavior using \boldsymbol within \startalign \stopalign. Please see the attached minimal example. MKII version 2009.03.13 17:35 A bug somewhere, possibly in the definition of \mathortext. For the time being, use

Re: [NTG-context] \startalign + \boldsymbol weird behavior

2009-03-29 Thread Aditya Mahajan
On Sun, 29 Mar 2009, Aditya Mahajan wrote: On Sun, 29 Mar 2009, Boštjan Vesnicer wrote: Hi, I've noticed a weird behavior using \boldsymbol within \startalign \stopalign. Please see the attached minimal example. MKII version 2009.03.13 17:35 A bug somewhere, possibly in the definition

Re: [NTG-context] \startalign + \boldsymbol weird behavior

2009-03-29 Thread Hans Hagen
Aditya Mahajan wrote: On Sun, 29 Mar 2009, Aditya Mahajan wrote: On Sun, 29 Mar 2009, Boštjan Vesnicer wrote: Hi, I've noticed a weird behavior using \boldsymbol within \startalign \stopalign. Please see the attached minimal example. MKII version 2009.03.13 17:35 A bug somewhere

[NTG-context] \startalign and underline

2007-02-13 Thread Mojca Miklavec
Hello, is there a nice way to [mis]use \startalign or combine it with something else to typeset equations like the following one (in a fixed-width font)? a + b = 9 a - b = 3 ___ 2a = 12 Thanks for any hints, Mojca ___ ntg

Re: [NTG-context] \startalign and underline

2007-02-13 Thread Aditya Mahajan
On Tue, 13 Feb 2007, Mojca Miklavec wrote: Hello, is there a nice way to [mis]use \startalign or combine it with something else to typeset equations like the following one (in a fixed-width font)? fixed-width font? Then you can just use \starttable with appropriate setting for distance

Re: [NTG-context] \startalign and underline

2007-02-13 Thread Mojca Miklavec
On 2/13/07, Aditya Mahajan wrote: On Tue, 13 Feb 2007, Mojca Miklavec wrote: Hello, is there a nice way to [mis]use \startalign or combine it with something else to typeset equations like the following one (in a fixed-width font)? fixed-width font? I meant fixed-width font while

[NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
] \usetypescript[lucidaboldmath][texnansi] \setupformulas[method=bold] \startformula[lucida] \tilde{\bfm \omega} \stopformula \startformula[lucida] \startalign[n=2, align={right,left}] \NC \tilde{\bfm \omega} \NC = a \NR \stopalign \stopformula \stoptext Renaud

Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Taco Hoekwater
Renaud AUBIN wrote: Hi all, Considering the following example, there is a problem with \bfm \omega in the align environment... I observed the same problem with the matrix environment... Any idea how to solve the problem ? Adding this redefinition of \bfm helps

Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
? \starttext \usetypescript[lucida] [texnansi] \usetypescript[lucidabfm] [texnansi] \usetypescript[lucidaboldmath][texnansi] \setupformulas[method=bold] \startformula[lucida] \tilde{\bfm \omega} \stopformula \startformula[lucida] \startalign[n=2, align={right,left}] \NC \tilde{\bfm \omega} \NC = a \NR

Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
ok, but then omega is not bold anymore... Taco Hoekwater a écrit : Adding this redefinition of \bfm helps \def\bfm{\noexpand\boldfacemath} % \noexpand added Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] lucida bold and startalign

2006-08-09 Thread Renaud AUBIN
\define\tildedomega{\hbox{$\tilde{\bfm \omega}$}} and use \tildedomega ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Bug with setupformulas and startalign?

2006-04-13 Thread Aditya Mahajan
Is this a bug or am I missing something simple? \startmode[bug] \setupformulas[align=right, leftmargin=3em] \stopmode \starttext \startformula \startalign \NC a \NC= b \NR \NC c \NC= d \NR \stopalign \stopformula \stoptext Thanks, Aditya -- Aditya Mahajan, EECS Systems, University

Re: [NTG-context] Bug with setupformulas and startalign?

2006-04-13 Thread Aditya Mahajan
On Thu, 13 Apr 2006, Aditya Mahajan wrote: Is this a bug or am I missing something simple? \startmode[bug] \setupformulas[align=right, leftmargin=3em] \stopmode \starttext \startformula \startalign \NC a \NC= b \NR \NC c \NC= d \NR \stopalign \stopformula \stoptext Should have

[NTG-context] \startalign problem

2006-01-31 Thread Sebastian Sturm
\eqalignmode \or to \dis... to be read again x for the very simple input file \starttext \startformula \startalign x \stopalign \stopformula \stoptext. Examples included in core-mat also won't compile. The last i-Installer distribution (don't remember the release date) didn't show this behaviour

Re: [NTG-context] \startalign problem

2006-01-31 Thread Taco Hoekwater
Sebastian Sturm wrote: Hello, using the latest 2006/1/29 version of i-Installer's ConTeXt package, I get an error message reading Yes, it is broken. Hopefully there will be a patch soon (likewise for the \eqalign problem) Taco ___ ntg-context